
import java.util.Scanner;
import java.util.Random;
public class B1{
		public static void main(String[] args){
         Scanner sc=new Scanner(System.in);
         Random r=new Random();
              int sjs= r.nextInt(100)+1;

             while (true) {
				System.out.println("请输入您要猜的数据");


				int cds = sc.nextInt();
				if (cds >= 1 && cds <= 100) {
					if (cds > sjs) {
						System.out.println("猜大了");
					} else if (cds < sjs) {
						System.out.println("猜小了");
					} else if (cds == sjs) {
						System.out.println("猜中了");
						break;
					} else {
						System.out.println("您没听见吗，我说的是1-100之间");

					}


				}


			}


		}
}